DBAnon\Database_Anonymization_Transformation D

Total Complexity 286
Dependencies 1
Dependents 2
Total lines 2,439
Lines of code 1,260
Logical lines of code 734
Comment lines 930
Methods 46
Properties 1

Methods 46

Method Rating Maintainability Complexity Lines of code
anonymize_random_digits()
C
35 26 76
anonymize_random_age()
B
37 20 69
anonymize_random_birthdate()
B
37 19 69
anonymize_random_chars()
A
41 15 54
anonymize_copy_user_email()
A
39 13 59
anonymize_copy_usermeta_names()
A
40 13 57
anonymize_random_email_list()
A
40 12 55
anonymize_random_street_list_with_number()
A
42 11 50
anonymize_random_pattern()
A
43 9 45
anonymize_random_phone_pattern()
A
43 9 45
anonymize_random_url_list()
A
44 8 41
anonymize_derive_from_user_email()
A
47 8 34
anonymize_random_full_name_generator()
A
46 7 37
anonymize_random_first_name_generator()
A
46 7 35
anonymize_random_last_name_generator()
A
46 7 35
anonymize_random_nickname_generator()
A
46 7 35
anonymize_random_agent_string_generator()
A
46 7 35
anonymize_random_iban_list()
A
46 7 35
anonymize_random_city_list()
A
46 7 35
anonymize_random_street_list()
A
46 7 35
anonymize_random_local_ip_address_generator()
A
47 7 33
update_table_rows()
S
50 6 30
get_table_rows()
S
53 6 22
get_table_count()
S
53 6 21
get_exclusion_query_parts()
S
51 5 25
get_random_filled_street_with_number_pattern()
S
52 5 24
get_random_filled_pattern()
S
56 4 18
get_usermeta_firstname()
S
61 2 12
get_usermeta_lastname()
S
61 2 12
get_user_email()
S
62 2 11
get_user_email_max_length()
S
63 2 11
get_primary_key()
S
64 2 9
get_loops()
S
69 2 6
get_random_string()
S
64 2 9
get_random_digits()
S
64 2 9
anonymize()
S
63 2 10
__construct()
S
81 1 3
get_domains()
S
68 1 7
get_names()
S
68 1 7
get_nicknames()
S
68 1 7
get_agents()
S
68 1 7
get_ibans()
S
68 1 7
get_cities()
S
68 1 7
get_streets()
S
68 1 7
anonymize_empty()
S
73 1 5
anonymize_one_value()
S
72 1 5